/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.checkFlow.model;

import com.yunhoo.sys.util.common.LoginParam;
import java.util.Date;

/**
 *
 * @author Administrator
 */
public class FlowModel {

    private String orgCode = "";
    private String fname = "";//流程模型名称
    private String type = "";//流程分类
    private Date createtime = new Date();//创建时间
    private String isPub = "";//是否发布 0： 未发布，1： 已发布，2： 已终止
    private String treetype = "";
    private String number = "";
    private String year = "";//年度
    private String fid = "";//模型ID
    private String id = "";//审批人id
    private String name = "";//审批人name
    private String roleId = "";//审批角色id
    private String roleName = "";
    private String role = "";//审批角色
    private Integer checkLevel = 0;//节点所在层级
    
    public FlowModel(){
        orgCode = LoginParam.getOrg().getCode();
    }

    public Node getNode() {
        return node;
    }

    public void setNode(Node node) {
        this.node = node;
    }
    private Node node = new Node();//审批对象（节点）

    public String getTreetype() {
        return treetype;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public void setTreetype(String treetype) {
        this.treetype = treetype;
    }

    public String getFname() {
        return fname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getIsPub() {
        return isPub;
    }

    public void setIsPub(String isPub) {
        this.isPub = isPub;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getFid() {
        return fid;
    }

    public void setFid(String fid) {
        this.fid = fid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Integer getCheckLevel() {
        return checkLevel;
    }

    public void setCheckLevel(Integer checkLevel) {
        this.checkLevel = checkLevel;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
}
